Hello Python world I'm trying to create a program using open cv on python 3 My main idea is to be able to use the camera to track objects (done from tutorial) and export that data to another application. For use in motion capture. First I tried using sockets because the client software has python 2.7 (motionbuilder MB by autodesk) but it would always lock up until I closed the python app capturing the video. then the data would show in MB. So the best idea I think would be to use the python opencv and export the data as MIDI as the MB app can natively use midi import as a mocap driver. I was able to use rtmidi and could hear the audio changing with the movement of the tracked objects. but MB would not see the midi as it needs to use a COM port to receive the data.
Could python 3 export MIDI as a normal midi object with serial out at 384000 and import it on the same machine? worst case I could export it from my laptop but I really want to set it up to use MIDI, what do you recommend.
refrences for this project https://pypi.python.org/pypi/python-rtmidi http://docs.opencv.org/3.1.0/d4/dc6/tutorial_py_template_matching.html https://pythonprogramming.net/loading-images-python-opencv-tutorial/
You must be logged in to post. Please login or register an account.
I cannot personally answer this for you, maybe someone else can, but I am guessing SO or a lot of google searches are your best bet :P
-Harrison 7 years ago
You must be logged in to post. Please login or register an account.